// import i18n from '@/lang'
export const sjdttjChartOption = {
  legend: {
    // data: [i18n.t('jccgcls'), i18n.t('xzcgcls'), i18n.t('sjcgcls')],
    data: ['检测成功数', '下载成功数', '升级成功数'],
    top: '0',
    x: 'center',
    itemWidth: 20,
    itemHeight: 8,
    textStyle: {
      fontSize: 12,
      color: '#666'
    }
  },
  grid: {
    left: '3%',
    right: '24',
    top: '32',
    bottom: '24',
    containLabel: true
  },
  tooltip: {
    trigger: 'axis'
  },
  xAxis: {
    type: 'category',
    data: ['2021-05', '2021-06', '2021-07', '2021-08', '2021-09', '2021-10',
      '2021-11', '2021-12', '2022-01', '2022-02', '2022-03', '2022-04']
  },
  yAxis: {
    type: 'value',
    minInterval: 10,
    min: 0
  },
  series: [
    {
      name: '检测成功数',
      data: [150, 230, 224, 218, 135, 147, 260, 224, 218, 135, 147, 260],
      type: 'line',
      symbol: 'none',
      smooth: true,
      lineStyle: {
        color: 'red'
      }
    },
    {
      name: '下载成功数',
      data: [105, 203, 202, 201, 103, 104, 206, 202, 210, 130, 114, 216],
      type: 'line',
      symbol: 'none',
      smooth: true,
      lineStyle: {
        color: '#2BB080'
      }
    },
    {
      name: '升级成功数',
      data: [15, 23, 22, 21, 13, 14, 26, 22, 21, 13, 14, 26],
      type: 'line',
      symbol: 'none',
      smooth: true,
      lineStyle: {
        color: '#FF9900'
      }
    }
  ]
}
